#ifndef _CENTRAL_PROTOCOL_H_
#define _CENTRAL_PROTOCOL_H_

/*******************************************************************
 *
 * Copyright (C), 2021-2022, Letstrong, All rights reserved.
 *
 * Author      : 
 * Create Time : 2020-01-05
 * Version     : v0.1
 * Description : 
 *******************************************************************/
 
/*----------------------------Head file----------------------------*/
#include "stdint.h"
#include "stdbool.h"

/*----------------------------macro file---------------------------*/

/*----------------------------type define--------------------------*/
#define RSP_CENTRAL_SUCCESS		0

#define ROPE_CMD_SEARCH_DEV		0xC3
#define ROPE_CMD_BURN_INFO		0xFF

/*----------------------------var define---------------------------*/

/*-------------------------func declaration------------------------*/
extern void dev_upload_resend_to_rope_central(void);
extern void dev_upload_batt_per_to_rope_central(void);
extern void dev_upload_skip_disp_data_to_rope_central(void);
extern void dev_upload_last_skip_data_to_rope_central(void);
extern void ble_rope_central_client_write_handle(const uint8_t* data, uint16_t len);

/*-----------------------------------------------------------------*/

#endif
